Fix (probably) memory leak in xmltag converion.
authorrobertlipe <robertlipe@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sat, 7 Sep 2013 07:38:00 +0000 (07:38 +0000)
committerrobertlipe <robertlipe@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sat, 7 Sep 2013 07:38:00 +0000 (07:38 +0000)
gpsbabel/xmltag.cc

index 1db0cf4031ea2fab0563a547a43d07e449073a57..56e446b71fff782863da7cb59199dd0808ac711e 100644 (file)
@@ -102,8 +102,10 @@ convert_xml_tag(xml_tag* tag)
     return;
   }
 
-  tag->cdata = cet_convert_string(tag->cdata);
-  tag->parentcdata = cet_convert_string(tag->parentcdata);
+//  tag->cdata = cet_convert_string(tag->cdata);
+//  tag->parentcdata = cet_convert_string(tag->parentcdata);
+  tag->cdata = tag->cdata;
+  tag->parentcdata = tag->parentcdata;
 
   ap = tag->attributes;
   while (*ap) {